package warehouse;

public class Item {

    private String name;
    private int id, price, quantity;

    public Item() {
        name = "";
        id = 0;
        price = 0;
        quantity = 0;
    }
    
    public Item(String name, int id, int price, int quantity) {
       this.name = name;
       this.id = id;
       this.price = price;
       this.quantity = quantity;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

}
